projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435606a
)
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
author
Christian Dywan
<christian@twotoasts.de>
Thu, 17 Dec 2009 09:41:11 +0000
(10:41 +0100)
committer
Christian Dywan
<christian@twotoasts.de>
Thu, 17 Dec 2009 09:41:11 +0000
(10:41 +0100)
modules/other/gail/gailwidget.c
patch
|
blob
|
history
diff --git
a/modules/other/gail/gailwidget.c
b/modules/other/gail/gailwidget.c
index 9493fc4eb21f375c26d5ad28b891638ff94e43f5..f81550d74039964211ef27b416b96ebc84436b79 100644
(file)
--- a/
modules/other/gail/gailwidget.c
+++ b/
modules/other/gail/gailwidget.c
@@
-243,7
+243,6
@@
gail_widget_get_description (AtkObject *accessible)
{
/* Get the tooltip from the widget */
GtkAccessible *obj = GTK_ACCESSIBLE (accessible);
- GtkTooltipsData *data;
gail_return_val_if_fail (obj, NULL);
@@
-254,12
+253,8
@@
gail_widget_get_description (AtkObject *accessible)
return NULL;
gail_return_val_if_fail (GTK_WIDGET (obj->widget), NULL);
-
- data = gtk_tooltips_data_get (obj->widget);
- if (data == NULL)
- return NULL;
- return
data->tip_text
;
+ return
gtk_widget_get_tooltip_text (obj->widget)
;
}
}